package com.hands.sample.interceptor;

import com.amazon.ask.dispatcher.request.handler.HandlerInput;
import com.amazon.ask.dispatcher.request.interceptor.RequestInterceptor;
import org.springframework.stereotype.Component;

/**
 * @author Caris W
 */
@Component
public class HelloWorldRequestInterceptor implements RequestInterceptor {

    @Override
    public void process(HandlerInput handlerInput) {
        //
        //logC.writeFile("C://001.log",handlerInput.getRequestEnvelope().toString());
        //log.debug(handlerInput.getRequestEnvelope().toString());
        //System.out.println(handlerInput.getRequestEnvelope().toString());
       // logC.writeFile("C://001.log","HelloWorldRequestInterceptor:"+handlerInput.getRequestEnvelope().toString());
    }
}

